﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace _430GroupProject
{
    //Contains information about errors that occur in the system.
    [DataContractAttribute]
    public class ErrorMessage
    {
        /// <summary>
        /// The header or title of the error message.  This field should be used as an error windows title.
        /// </summary>
        [DataMember]
        public String Header { get; set; }

        /// <summary>
        /// The body or content of the error message.  This field should be displayed inside an error window.
        /// </summary>
        [DataMember]
        public String Message { get; set; }
    }
}
